package com.ruoyi.experiment.domain;

import java.time.LocalDateTime;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 教学实验环境实例对象 teaching_experimental_environment_example
 * 
 * @author ruoyi
 * @date 2023-07-29
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TeachingExperimentalEnvironmentExample extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 教学实验环境实例id */
    private Long teachingEnvironmentExampleId;

    /** 教学实验环境id */
    private Long teachingEnvironmentId;

    /** 实验环境名称 */
    @Excel(name = "实验环境名称")
    private String environmentName;

    /** 实验时间 */
    @Excel(name = "实验时间")
    private Long testTime;

    /** 实例生成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "实例生成时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime exampleCreateTime;

    /** 实例结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "实例结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime exampleEndTime;

    /** 教学环境*/
    private TeachingExperimentalEnvironment environment;
}
